package test;


import TCP.Communication.LinkerClient;
import TCP.Communication.Role;

public class writeSql {
	public static writeSql my;
	public static LinkerClient lc;
	static String localServer = "sql";


	public static void main(String[] args) throws Exception {
		writeSql a = new writeSql();

	}

	public writeSql()throws Exception {
		super();
		con();
		my=this;


	}
	public void con()throws Exception{
		String ip = "192.168.1.143";
		int port = 7777;
		lc = new LinkerClient(ip, port, Role.admin);
		lc.setUserName(localServer);
		
		System.out.println("SQL 連線完成");

	
		
	}
	

}
